SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
PROBLEM w/ ftpfiledatetime

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
PROBLEM w/ ftpfiledatetime
Author Message
~Joe



Joined: 18 Dec 2003
Posts: 42

Post PROBLEM w/ ftpfiledatetime Reply with quote

I have a problem trying to use the FtpFileDateTime command.

my program looks like this:
dim list, string, ""

ftpfiledatetime ("uwpfs-user1.fbi.gov", &
"usernamehere", "passwordhere", & "data/Shared/Reports/other/crime/software/Report.txt", list)

mesagebox list

ERROR:
Line 8: File "data/Shared/Reports/other/crime/software/Report.txt" not found. The server has returned an extended error: 200 TYPE Command OK A

200 PORT Command OK

550 No Such Directory "/data/shared/reports/data/shared/reports/other/crime/software/report.txt".

^^^^^^^^^^^ ^^^^^^^^
---------------------------
OK

Look at the No such directory. It is repeating the first three subdirectories. data/shared/reports is repeated twice.


Tue Feb 10, 2004 7:19 pm View user's profile Send private message
~Joe



Joined: 18 Dec 2003
Posts: 42

Post Re: PROBLEM w/ ftpfiledatetime Reply with quote


On this one if I put a leading / in front of the path it is happy. and does not attempt to put the first three path in front of the directories as reported.

: I have a problem trying to use the FtpFileDateTime command.

: my program looks like this: dim list, string, ""

: ftpfiledatetime ("uwpfs-user1.fbi.gov", &
: "usernamehere", "passwordhere", &
: "data/Shared/Reports/other/crime/software/Report.txt", list)

: mesagebox list

: ERROR: Line 8: File
: "data/Shared/Reports/other/crime/software/Report.txt" not found.
: The server has returned an extended error: 200 TYPE Command OK A

: 200 PORT Command OK

: 550 No Such Directory
: "/data/shared/reports/data/shared/reports/other/crime/software/report.txt".

: ^^^^^^^^^^^ ^^^^^^^^
: ---------------------------
: OK

: Look at the No such directory. It is repeating the first three
: subdirectories. data/shared/reports is repeated twice.

Tue Feb 10, 2004 7:43 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: PROBLEM w/ ftpfiledatetime Reply with quote

In all FTP commands you should enter the full file path, not just the path relative to the current directory. Because it is a full path in Unix it must start with /

: On this one if I put a leading / in front of the path it is happy. and does
: not attempt to put the first three path in front of the directories as
: reported.

Tue Feb 10, 2004 9:52 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.