FTP failing to upload file

  • (2 Pages)
  • +
  • 1
  • 2

17 Replies - 1589 Views - Last Post: 03 September 2012 - 05:11 AM Rate Topic: -----

#16 bladevetren  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 27
  • Joined: 18-August 12

Re: FTP failing to upload file

Posted 03 September 2012 - 04:35 AM

ok it works but it is preventing me from puting the file

Microsoft Windows [Version 6.1.7600]
Copyright © 2009 Microsoft Corporation. All rights reserved.

C:\Users\John.dell2>cd /Users/John.dell2/Documents/system

C:\Users\John.dell2\Documents\system>ftp
ftp> open Johndell2-PC
Connected to Johndell2-PC.
220 Serv-U FTP Server v12.1 ready...
User (Johndell2-PC:(none)): export1
331 User name okay, need password.
Password:
230 User logged in, proceed.
ftp> put system
system: File not found
ftp> put system.txt
200 EPRT command successful.
550 /system.txt: Permission denied.
ftp>
Was This Post Helpful? 0
  • +
  • -

#17 g00se  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 2833
  • View blog
  • Posts: 12,001
  • Joined: 20-September 08

Re: FTP failing to upload file

Posted 03 September 2012 - 04:52 AM

Well you need to find out why. Needless to say, if you can't do it at the command line, you can't do it in Java

And actually you shouldn't do it at all;) FTP is not a secure protocol. I don't know what they have in the Microsoft world these days, but SFTP might be available

This post has been edited by g00se: 03 September 2012 - 04:53 AM
Reason for edit:: sftp

Was This Post Helpful? 0
  • +
  • -

#18 bladevetren  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 27
  • Joined: 18-August 12

Re: FTP failing to upload file

Posted 03 September 2012 - 05:11 AM

ok it found the file but it is preventing me from uploading it

Microsoft Windows [Version 6.1.7600]
Copyright © 2009 Microsoft Corporation. All rights reserved.

C:\Users\John.dell2>cd /Users/John.dell2/Documents/system

C:\Users\John.dell2\Documents\system>ftp
ftp> open Johndell2-PC
Connected to Johndell2-PC.
220 Serv-U FTP Server v12.1 ready...
User (Johndell2-PC:(none)): export1
331 User name okay, need password.
Password:
230 User logged in, proceed.
ftp> put system
system: File not found
ftp> put system.txt
200 EPRT command successful.
550 /system.txt: Permission denied.
ftp>
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2