FTP

195

Solutions

364

Contributors

The File Transfer Program (FTP) is a standard network protocol used to transfer computer files between a client and server on a computer network. Built on a client-server model architecture, it separates control and data connections between the client and the server. Users may access the server through a sign-in protocol, typically in the form of a username and password.

Share tech news, updates, or what's on your mind.

Sign up to Post

HI,
What does a port of 7122 means when we SFTP. Because normally the port is 22.
I have a sftp for which i use hostip:7122 to connect

Thanks
0
Exploring SharePoint 2016
LVL 13
Exploring SharePoint 2016

Explore SharePoint 2016, the web-based, collaborative platform that integrates with Microsoft Office to provide intranets, secure document management, and collaboration so you can develop your online and offline capabilities.

HI,
I am getting the following error during SFTP connection -
Screenshot-2019-04-06-at-7.09.28-PM.pngwhat could be the reason for that
I am using the
 <dependency>
            <groupId>com.jcraft</groupId>
            <artifactId>jsch</artifactId>
            <version>0.1.54</version>
        </dependency>

dependency in my java code
Thanks
0
HI,
I need a GUI client for sftp on MAC.
I have downloaded cyber duck. And i could connect to a sftp machine with port 22.
But then i tried another machine with port 7122. It seems it doesnt have ability to handle this port.
Although i am able to connect if from terminal.
On cyber duck if i manually change the port to 7122 it doesnt work.
It throws the following error :
Screenshot-2019-04-06-at-11.23.36-AM.pngScreenshot-2019-04-06-at-11.23.43-AM.png
Please help in suggesting some way to connect to this through some GUI client.
0
Hello everyone,


I have a Cisco ASA 5516 with two inside interfaces. One is for customer LAN and another is for a few branch offices connected via a router that is connected to the 2nd Inside interface (All those offices are in the same building connected by a FO backbone. Customer is going to replace an old ASA 5510 where almost the same config already works.  

LAN network is 192.168.0.0/24 connected to 1/3 on ASA

Branch Offices are connected to 192.168.2.0/24 connected to 1/4 on ASA
 
I want to be able to ping and have unrestricted traffic between them.

Currently I have a laptop connected to int 1/3 and another one connected to Int 1/4 but no ping.

Someone please help!

Here's the configuration

ASA Version 9.8(2)17
!
hostname ASAFCHFW
domain-name mydomain.com
enable password $sha512$5000$pt2nRGQbSXA8K3vdow+Ztg==$kGNfDJREqQCQ+jO7m0bxmQ== pbkdf2
names
no mac-address auto

!
interface GigabitEthernet1/1
nameif Outside
security-level 0
ip address x.x.x.131 255.255.255.240
!
interface GigabitEthernet1/2
nameif DMZ
security-level 10
ip address 172.16.31.1 255.255.255.240
!
interface GigabitEthernet1/3
nameif Inside
security-level 100
ip address 192.168.0.2 255.255.255.0
!
interface GigabitEthernet1/4
nameif Branch_Office
security-level 100
ip address 192.168.2.1 255.255.255.0
!
interface GigabitEthernet1/5
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet1/6
shutdown
no nameif
no …
0
AnyConnet VPN client can access the internet via the remote gateway, but cannot internal servers.

I followed the instructions from (first example, with tunnel all configuration)

https://www.cisco.com/c/en/us/support/docs/security/asa-5500-x-series-next-generation-firewalls/100918-asa-sslvpn-00.html#anc7


I can not ping or access the 10.10.30.99(Internal server) or 10.10.30.2 (ASA internal LAN) after connected VPN.

Could I please have some advice? Many thanks.
ASA-show-run.txt
0
Hi, we have a Server 2012 R2 Server, and using FileZilla, what is the best way to secure this as we want to allow 3rd parties to upload files/folders to the server?
0
We have an SFTP Server with user accounts worldwide. When working with US sites, users are emailed their account information and instructed to call us for their password. We have an SOP stating we don't send passwords via email, and FAX is not an option. Now that we work with international sites, we're constantly running into language/time zone barriers.  We email new users the account username and tried using encrypted zip files but this has been problematic for many reasons. We are wondering how to securely get passwords to our international users. Any help/suggestions/best practices are greatly appreciated.
0
Hi - I'm having an issue with FTP using Filezilla server. For some reason I cannot get it to successfully connect in passive mode. Initially, and i have no idea why, when using Filezilla client, we set that to passive mode (with the setting to "fall back to active mode" enabled) and it worked, but it doesn't seem to be truly connecting in passive mode based on the connection logs. Does anyone have any ideas on how to get this to work?
0
I was given public keys by vender , Im trying to connect to server through  WS _FTP utility .  I genertaed a set of keys using putty.  Im trying to import the private key that I created through Putty and receiving an error invalid format when trying to import  as my private keys through WS_FTP.

Thanks
Aron
0
We are unable to login to our Extenua Silvershield SFTP app. The admin password is not accepted. I have access to the server but can't login to the Silvershield console.

I have emailed their support like 5 times but no response.

I was hoping someone here uses this app.
0
CEOs need to know what they should worry about
CEOs need to know what they should worry about

Nearly every week during the past few years has featured a headline about the latest data breach, malware attack, ransomware demand, or unrecoverable corporate data loss. Those stories are frequently followed by news that the CEOs at those companies were forced to resign.

Hi, I am trying to set up a secure file  transfer on windows server 2016. I need a practical and simple documentation. Any ideas ?
0
My Joomla!  website is hosted at OVH since a couple of years.
Now since a couple of days (or weeks ?) I get OVH feedback (automatic email from them) that some outgoing emails (mainly to addresses @gmx.de and gmx.at) are not delivered (names not known etc...)
A dozen of such emails every day, but a total of sometimes more than 40 emails sent ...
My website has RSForm! Pro and a form that sends email to exactly one specific address (that I manage) outside the OVH server.
I wonder how my website has been hacked : the OVH admin password, the Joomla! admin password and ftp password are almost ... random ! (I have them at home written on a paper in my desk, nobody has access to it)
What shell I do to take that hacking away ?
Thanks
0
How to gain root access to a vulnerable Red hat Linux server?

I only have the following details.
1) There are 3 services running. (SSH, FTP and HTTP)
2) I managed to get some user username and password, however when i tried to login into the server, i recieved the error permission denied.
0
I'm using WinSCP in the scripting mode with an MS Access 2K application.

My goal is to use the shell command that runs a batch file that ftp's a file.


THe MS Access application needs to know when the FTP has completed, so I use a batch file to copy a flag into the directory.
The Access Application then loops, checking every second to see with the flag exists, before it continues...


The problem is that while the batch file works as expected when executed from the command mode, it does not perform as expected when I use the Shell command.
I'm pretty sure the problem is the use of the term "exit" in the WinSCP script, but I don't know what to do to solve the problem.

Here is my batch file... StartFTP.bat (again... batch file creates Finished_FTP_Flag.txt as expected)

DEL "\\<myServer>\Database\XMIT-files\Finished_FTP_Flag.txt"
"C:\Program Files\WinSCP\WinSCP.com" /ini=nul /command "open ftp://<myFTP_Site>/" "put \\<myServer>\database\xmit-files\<myFileName.zip>" "exit"  
COPY "\\<myServer>\Database\DistiTools\FinishedConvertingFlag.txt" "\\<myServer>\Database\XMIT-files\Finished_FTP_Flag.txt"

Here is my MS Access (VBA) command (again... batch file never creates Finished_FTP_Flag.txt
 Call Shell("c:\<MyPath>\StartFTP.bat")

Any suggestions???
0
I would like to use a powershell/vbs script to run the following commands currently found in a .bat file:


@echo off
setlocal 

set password=xxxxxxxx
set /p password=<%~nx0:password
if not "%password%"=="" goto OK
set /p password=Enter password: 
echo %password%>%~nx0:password
:OK

set localdir=\\srv\folder\NewInbound\folder
set remotedir=/out_folder
set ftpserver=ftp.server.com
set username=xxxxxxxx

::del "%localdir%\*.*" /q

call :GetFtpFiles
call :ClearFTPFiles

exit /b

:GetFTPFiles
    (echo open %ftpserver%
    echo user %username% %password%
    echo bin
    echo cd %remotedir%
    echo lcd "%localdir%"
    echo mget *.*
    echo quit
    ) | ftp -n -i
    exit /b

:ClearfTPFiles
    (echo open %ftpserver%
    echo user %username% %password%
    echo cd %remotedir%
    (for /f "tokens=*" %%a in ('dir /b /a-d "%localdir%\*.*"') do @echo dele "%%~a")
    echo quit
    ) | ftp -n -i -d

Open in new window

0
.Hi,

I'm looking for a Secure file transfer system for aprox. 75 employees and 20 customers  (SFTP)
-User WebGUI and preferably for admin too
-An interface via the command line
-Integration with OKTA
-An Outlook plugin

Can anyone recomend a server software that can be configured for SSO with OKTA?

Thanks
0
I install FTP tools (Filezilla 0.9.44 server version ) on windows server 2012. Sometimes occurs a error message " Failed to load SSL libraries" message. Our client can't connect to FTP server. Please help me to solve it . Thanks
0
I have 2 types of files written into a local FTP directory.
Those ending with *.dat extension are good files I want to keep
Those with no extension are junk files I want to delete periodically.

I am looking for a command that will either:
a) delete all files that have no extension
b) delete all files that do not have a *.dat extension
0
I have an application running on several customers PCs (Delphi XE2 developed).
The application sometimes access a FTP server (hosted by OVH, very reliable)  to download some files.
It works fine on all customer's PCs, ... except, since a couple a days, on one of them.
I could verify that the connection is correctly established but the "get" results in the following error :
Socket error 10054, connection reset by peer
I have asked the customer to retry, after disabling his anti-virus and firewall (I could not very that yet) but the error is the same
0
Ensure Business Longevity with As-A-Service
Ensure Business Longevity with As-A-Service

Using the as-a-service approach for your business model allows you to grow your revenue stream with new practice areas, without forcing you to part ways with existing clients just because they don’t fit the mold of your new service offerings.

What I'm trying to do is create a ftp user that can update and modify files in an apache2 v2.4 (with www-data) web directory.

I have a single user: UserA (names changed to protect the guilty) The folder is /var/www/vhosts; chowned to www-data:www-data UserA has been addded to the www-data group. The UserA's home directory is set to /var/www/vhosts

I have ProFTPd setup and running. UserA connects fine.

The problem is ownership of the folders/files. all files are set to 644 as normal all folders are set to 755.

since UserA is not the owner, it falls under the group policies and files cannot be added, deleted, or modified because of the limitations.

Is there any way to masquerade UserA as www-data so they can perform the job?

Am I thinking of this the right way? is there another way to do it? Thanks The user connects via FTP to the web folder
0
I have a program that sends the file via ftp, but this file always gets unwritten permission. How do I make this file always be sent with write permission. Or how do I make the files inside this folder always have write permission?
0
What are the strings of commands in CUTEFTP to download all files found in a specific remote folder?
Either it can override all local files, or it should only download the latest files it finds which are not on the local folder.
0
Please, I have these codes in python 2.7 which great in downloading files from the server. How could extend them to add upload using a socket, threading with the ability to list files in server side and user should enter hardcoded username and password before it granted to enter and list files?

the requirements are simple but I'm still beginner ..

Server Code

 
  import socket
    import threading
    import os

    def RetrFile(name, sock):
    filename = sock.recv(1024)
    if os.path.isfile(filename):
        sock.send("EXISTS " + str(os.path.getsize(filename)))
        userResponse = sock.recv(1024)
        if userResponse[:2] == 'OK':
            with open(filename, 'rb') as f:
                bytesToSend = f.read(1024)
                sock.send(bytesToSend)
                while bytesToSend != "":
                    bytesToSend = f.read(1024)
                    sock.send(bytesToSend)
    else:
        sock.send("ERR ")

    sock.close()

def Main():
    host = '127.0.0.1'
    port = 5000


    s = socket.socket()
    s.bind((host,port))

    s.listen(5)

    print "Server Started."
    while True:
        c, addr = s.accept()
        print "client connedted ip:<" + str(addr) + ">"
        t = threading.Thread(target=RetrFile, args=("RetrThread", c))
        t.start()

    s.close()

if __name__ == '__main__':
    Main()

Open in new window

Client code

import socket

def Main():
    host = '127.0.0.1'
    port = 5000

    s = socket.socket()
    s.connect((host, port))

    filename = raw_input("Filename? -> ")
    if filename != 'q':
        s.send(filename)
        data = s.recv(1024)
        if data[:6] == 'EXISTS':
            filesize = long(data[6:])
            message = raw_input("File exists, " + str(filesize) +"Bytes, download? (Y/N)? -> ")
            if message == 'Y':
                s.send("OK")
                f = open('new_'+filename, 'wb')
                data = s.recv(1024)
                totalRecv = len(data)
                f.write(data)
                while totalRecv < filesize:
                    data = s.recv(1024)
                    totalRecv += len(data)
                    f.write(data)
                    print "{0:.2f}".format((totalRecv/float(filesize))*100)+ "% Done"
                print "Download Complete!"
                f.close()
        else:
            print "File Does Not Exist!"

    s.close()

Open in new window

0
I would like to modify this FTP script below so that it does the following

1. Download any new files to the local directory.  (So the script needs to determine what it downloaded last time, so that it doesn't download it again, unless it it's easier to write the script so as to download everything it sees in the remote directory to the local directory and just overwrite any files which it sees, which is ok as well, in this scenario).

2. Does not delete the previous files from the remote directory.


@echo off
setlocal 

set password=xxxxxxxxxx
set /p password=<%~nx0:password
if not "%password%"=="" goto OK
set /p password=Enter password: 
echo %password%>%~nx0:password
:OK

set localdir=\\server1\main\
set remotedir=/out
set ftpserver=xxxxx.xxxxxxxxxxx.com
set username=xxxxxxxx

::del "%localdir%\*.*" /q

call :GetFtpFiles
call :ClearFTPFiles

exit /b

:GetFTPFiles
    (echo open %ftpserver%
    echo user %username% %password%
    echo bin
    echo cd %remotedir%
    echo lcd "%localdir%"
    echo mget *.*
    echo quit
    ) | ftp -n -i
    exit /b

:ClearfTPFiles
    (echo open %ftpserver%
    echo user %username% %password%
    echo cd %remotedir%
    (for /f "tokens=*" %%a in ('dir /b /a-d "%localdir%\*.*"') do @echo dele "%%~a")
    echo quit
    ) | ftp -n -i -d

Open in new window

0
I have a small VB6 exe file that I have signed using a code signing certificate from GoDaddy.
I signed the file using Micrsofts SignTool.
I put the file on a Windows PC and execute it. No problem. Certificate is valid.
I can run it multiple times, and still valid.

I then I have another program (Access DB) that calls this file using a shell command.
Once it calls that file, it immediately makes the file's certificate invalid: "The Digital Signature Is Invalid"

This VB6 file has never been a problem for years.  I recently had to make a small change to the file. Just one line of code.
BUt the VB6 program loses it's certificate even before it's executed.

I'm stumped.

Note: The VB6 file performs on FTP file download and works fine.
0

FTP

195

Solutions

364

Contributors

The File Transfer Program (FTP) is a standard network protocol used to transfer computer files between a client and server on a computer network. Built on a client-server model architecture, it separates control and data connections between the client and the server. Users may access the server through a sign-in protocol, typically in the form of a username and password.