Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.4k views
in Java FTP by (120 points)
I am trying to ftp using jsp and here is the line of code causing the issue

ftp.put("c:/cpucount.txt", "/home/jarnagus/apps/java/watched/transocean/cpucount.txt");

Error Message is :c:/cpucount.txt (No such file or directory)

Can somebody help me in right direction. Very urgent and thanks in advance.

1 Answer

0 votes
by (51.6k points)
Try using a backslash for the local path, i.e. "C:\\cpucount.txt".

- Hans (EDT)

Categories

...